package xin.yangshuai.springcloud.dao;

import org.apache.ibatis.annotations.Mapper;
import xin.yangshuai.springcloud.entities.Dept;

import java.util.List;

/**
 * DeptDao
 *
 * @author shuai
 * @date 2020/4/12
 */
@Mapper
public interface DeptDao {
    public boolean addDept(Dept dept);

    public Dept findById(Long id);

    public List<Dept> findAll();
}
